using UnityEngine;
using System.Collections;

public class MainMenu : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnGUI()
	{
	
		if(GUI.Button(new Rect(Screen.width/2-100,Screen.height/2-80,220,20), "Level1"))
		{
			Application.LoadLevel(2);
		}
		
		
		if(GUI.Button(new Rect(Screen.width/2-100,Screen.height/2-60,220,20), "Level2"))
		{
			Application.LoadLevel(3);	
		}
		
		if(GUI.Button(new Rect(Screen.width/2-100,Screen.height/2-40,220,20), "Quit"))
		{
			Application.Quit();	
		}
		
	}
	
}
